﻿using System;
using Cubicle.Core.DataContracts;

namespace Cubicle.Core.Interfaces
{
    //[ServiceContract(
    //    SessionMode = SessionMode.Allowed,
    //    Namespace = "http://www.cubicle.co.uk/",
    //    Name = "IComponentHost")]
    public interface IComponentHost : IDisposable
    {
        //[OperationContract]
        string StartHost(HostingType type, bool enableMetaData, int port);

        //[OperationContract]
        bool StopHost();

        //[OperationContract]
        bool IsHosted();

        //[OperationContract]
        string GetHostAddress();

    }
}
